import BaseService from '../BaseService'
import factory from '../serviceFactory'

class AirCustomerRuleService extends BaseService {
  /**
   * 查询客户规定列表（不分页）
   * queryCustomerRuleList({airline})
   */
  queryCustomerRuleList = factory.makeGet('/api/airCustomerRule/queryCustomerRuleList')

  /**
   * 保存客户规定
   * saveCustomerRule({...})
   */
  saveCustomerRule = factory.makeJPost('/api/airCustomerRule/saveCustomerRule')
}

export default new AirCustomerRuleService()
